<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/1/8
 * Time: 13:04
 */

namespace app\api\validate;


class ExpressValidate extends BaseValidate
{
    protected $rule = [
        'order_id' => 'require|isPositiveInteger',
        'comp_name' => 'require|isNotEmpty',
        'express_no' => 'require|isNotEmpty',
        'form_id' => 'isNotEmpty'
    ];
    protected $message = [
        'order_id' => '订单id必须是正整数',
        'comp_name' => '物流公司不能为空',
        'express_no' => '物流单号不能为空',
        'form_id' => 'form_id不能为空'
    ];
}